Skip to main content

androidIsAudioPlayingInBackground

Type​

handler

Summary​

Whether there is currently any audio playing in the background

Syntax​

androidIsAudioPlayingInBackground()

Description​

Use the androidIsAudioPlayingInBackground to find out if there is any audio playback currently occurring in the background.

Examples​

    if androidIsAudioPlayingInBackground() then
androidPauseAudioPlayingInBackground
end if

Compatibility and Support​

OS

android